package com.sxpi.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("costumes")
public class Costumes {
    @TableId
    private Long id;
    private String name;//商品名
    private Long categoryId;
//    private Long userId;
    private String description;//描述
    private Double price;//价格
    private Integer status;//是否上架(0   是)
    private Integer salesVolume;//销量
    private Integer stock;//    库存
    private LocalDateTime createdTime; // 创建时间
    private LocalDateTime updatedTime; // 更新时间
    private String createdBy; // 创建人昵称
    private String updatedBy; // 修改人昵称

} 